package com.example.mapdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Area)实体类
 *
 * @author makejava
 * @since 2024-09-20 09:31:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("area")
public class Area extends Model<Area> implements Serializable {

    /**
     * 区县id
     */
    @TableId(type = IdType.AUTO)
    private String id;
    /**
     * 区县编号
     */
    private String areaId;
    /**
     * 区县名称
     */
    private String name;
    /**
     * 城市编号
     */
    private String cityCode;

}

